//
//  FXToolTipController.h
//  Cocoa-Fetion
//
//  Created by Ronnie on 08-12-27.
//  Copyright 2008 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "ListController.h"


@interface FXToolTipController : NSWindowController {
	NSOutlineView*				view;
    NSTrackingRectTag			tooltipTrackingTag;
	NSTimer*					tooltipMouseLocationTimer;	
    int							tooltipCount;
	float						m_tooltipDelay;
	NSPoint						oldMouseLocation;
	NSPoint						oldToolTipLocation;
	FXTreeNode*					dataNode;
	
	IBOutlet NSTextField*		numberField;
	IBOutlet NSTextField*		nickNameField;
	IBOutlet NSTextField*		impresaField;
}

- (id)initWithView:(NSView*)aView;
- (void)storeTrackingArea;
- (void)_startTrackingMouse;
- (void)_stopTrackingMouse;
- (void)hideTooltip;
- (void)setDataNode:(FXTreeNode*)node;

@end
